﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="SubjectDetailControl.ascx.vb" Inherits="SISSAT.WebDevelopment.Shared.UserControls.SubjectDetailControl" %>
<div class="input">
	<div class="label">
        <asp:RequiredFieldValidator ID="NameRequiredFieldValidator" runat="server" 
                                    Display="Static"
                                    ErrorMessage="*" 
                                    ControlToValidate="NameTextBox" 
                                    ValidationGroup="SubjectDetailControlGroup"
                                    CssClass="error" />
        Subject</div>
	<div class="data"><asp:TextBox ID="NameTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
</div>
<asp:Panel ID="DescriptionPanel" runat="server" CssClass="input" Visible="True">
    <div class="label"><div></div>Description</div>
	<div class="data"><asp:TextBox ID="DescriptionTextBox" runat="server" CssClass="textbox" ReadOnly="False" /></div>
</asp:Panel>
<div class="input">
	<div class="label">
        <asp:RequiredFieldValidator ID="CodeRequiredFieldValidator" runat="server"
                                    Display="Static" 
                                    ErrorMessage="*" 
                                    ControlToValidate="CodeTextBox" 
                                    ValidationGroup="SubjectDetailControlGroup"
                                    CssClass="error" />
        Code</div>
	<div class="data"><asp:TextBox ID="CodeTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
</div>
<div class="input">
	<div class="label">
        <asp:RequiredFieldValidator ID="UnitsRequiredFieldValidator" runat="server" 
                                    Display="Static"
                                    ErrorMessage="*" 
                                    ControlToValidate="UnitsTextBox" 
                                    ValidationGroup="SubjectDetailControlGroup"
                                    CssClass="error" />
        Units</div>
	<div class="data"><asp:TextBox ID="UnitsTextBox" runat="server" CssClass="textbox req" ReadOnly="False" /></div>
</div>
<div class="input">
<asp:Panel ID="ButtonPanel" runat="server" Visible="True">
<div class="label"></div>
<div class="data">
    <div class="error"><%=ErrorMessage%></div>
    <div class="buttons">
	    <asp:Button ID="SubmitButton" runat="server" CssClass="button" Text="Save Changes" ToolTip="Save Changes" ValidationGroup="SubjectDetailControlGroup" />
        <asp:Button ID="ClearButton" runat="server" CssClass="button" Text="Clear" ToolTip="Clear" />
    </div>
</div>
</asp:Panel>
</div>

